MCEnableEditing
TheMCEnableEditing
function allows your application to enable and disable editing for a movie controller. Once editing is enabled for a controller, the user may edit the movie associated with the controller.
pascal ComponentResult MCEnableEditing (MovieController mc, Boolean enabled);
mc
- Specifies the movie controller for the operation. You obtain this
identifier from the Component Manager'sOpenComponent
orOpenDefaultComponent
function, or from theNewMovieController
function (described on page 2-28).enabled
- Specifies whether to enable or disable editing for the controller. Set this parameter to
true
to enable editing; set theenabled
parameter tofalse
to disable editing.DESCRIPTION
By default, editing is turned off when you create a new movie controller. If you want to allow the user to edit, you must use theMCEnableEditing
function to enable editing.SPECIAL CONSIDERATIONS
Note that a movie controller component may not support editing. Therefore, your application should check the component result from this function before continuing with other movie-editing operations.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help